package com.woniuxy.daos;

import com.woniuxy.entitys.Diet;
import com.woniuxy.entitys.DietExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface DietDao {
    long countByExample(DietExample example);

    int deleteByExample(DietExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Diet record);

    int insertSelective(Diet record);

    List<Diet> selectByExample(DietExample example);

    Diet selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Diet record, @Param("example") DietExample example);

    int updateByExample(@Param("record") Diet record, @Param("example") DietExample example);

    int updateByPrimaryKeySelective(Diet record);

    int updateByPrimaryKey(Diet record);
}